<%--
  Created by IntelliJ IDEA.
  User: Carlos
  Date: 2020/10/18
  Time: 20:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1px" width="100%">
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>性别</th>
        <th>部门ID</th>
        <th>操作1</th>
        <th>操作2</th>

    </tr>
    <c:forEach items="${employeeList}" var="employee">
        <tr>
            <td>${employee.eid}</td>
            <td>${employee.ename}</td>
            <td>${employee.gander}</td>
            <td>${employee.did}</td>
            <td><a href="${pageContext.request.contextPath}/employee/delete?eid=${employee.eid}">删除</a></td>
            <td><a href="${pageContext.request.contextPath}/employee/updateUI?eid=${employee.eid}">修改</a></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>


